package com.demo.app2;

import org.springframework.boot.*;
import org.springframework.boot.autoconfigure.*;
import org.springframework.stereotype.*;
import org.springframework.web.bind.annotation.*;


@SpringBootApplication
@Controller
public class App {

	 @RequestMapping("home")
	    @ResponseBody
	   public String home() {
	        return "Hello World!";
	    }

    public static void main(String[] args) throws Exception {
        SpringApplication.run(App.class, args);
    }
}